/*
 * @Author: 码农 2646995216@qq.com
 * @Date: 2025-03-15 16:00:56
 * @LastEditors: 码农 2646995216@qq.com
 * @LastEditTime: 2025-03-16 21:43:13
 * @FilePath: /socket_tcp/servermain.cc
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#include<memory>
#include"server.hpp"

using namespace std;

int main(int argc,char* argv[])
{
	uint16_t port=atoi(argv[1]);
    unique_ptr<Server> p(new Server(port));
    
	p->ServerInit();
	p->ServerStart4();

	return 0;
}